<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo1-循环语句-数组</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
<div id="case3-for">
    <ul>
        <li v-for="value in arr" >
            {{value}}
        </li>
        <li v-for="value in arrHtml" v-html="value">
        </li>
    </ul>
</div>
<script type="text/javascript">
    var caseFor=new Vue({
        el:"#case3-for",
        data:{
            arr:["腾讯","阿里","百度"],
            arrHtml:[`<span>腾讯</span>`,`<span>阿里</span>`,`<span>百度</span>`]
        }
    })
</script>
</body>
</html>